﻿<UserControl x:Class="DBSchemaViewer.FrontEnd.DiagramUserControls.CtlDBRelationship"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Canvas>
        <!-- Origin small horizontal line -->
        <Line x:Name="lnOriginEndPoint" X1="0" Y1="0" X2="10" Y2="0" Canvas.Left="0" Canvas.Top="0"
              Stroke="Black" StrokeThickness="2" MouseLeftButtonDown="lnConnector_MouseLeftButtonDown"/>

        <!-- Main connector line -->
        <Line x:Name="lnMainLine" X1="10" Y1="0" X2="300" Y2="40" Canvas.Left="0" Canvas.Top="0"
                    Stroke="Black" StrokeThickness="2" MouseLeftButtonDown="lnConnector_MouseLeftButtonDown"/>

        <!-- End connector -->
        <Line x:Name="lnForkUpper" X1="300" Y1="35" X2="310" Y2="35" Canvas.Left="0" Canvas.Top="0"
              Stroke="Black" StrokeThickness="2" MouseLeftButtonDown="lnConnector_MouseLeftButtonDown"/>

        <Line x:Name="lnForkMiddle" X1="300" Y1="40" X2="310" Y2="40" Canvas.Left="0" Canvas.Top="0"
              Stroke="Black" StrokeThickness="2" MouseLeftButtonDown="lnConnector_MouseLeftButtonDown"/>

        <Line x:Name="lnForkLower" X1="300" Y1="45" X2="310" Y2="45" Canvas.Left="0" Canvas.Top="0"
              Stroke="Black" StrokeThickness="2" MouseLeftButtonDown="lnConnector_MouseLeftButtonDown"/>

        <Line x:Name="lnForkVertical" X1="300" Y1="35" X2="300" Y2="45" Canvas.Left="0" Canvas.Top="0"
              Stroke="Black" StrokeThickness="2" MouseLeftButtonDown="lnConnector_MouseLeftButtonDown"/>


    </Canvas>
</UserControl>
